import Vue from 'vue'
import Router from 'vue-router'
import PieMultiTest from '@/pages/test/pie-multi-test'
import PictorialBarTest from '@/pages/test/pictorial-bar-test'
import GaugeTest from '@/pages/test/gauge-test'
import NumberFlipTest from '@/pages/test/number-flip-test'
import LineTest from '@/pages/test/line-test'
import RadarScan from '@/pages/test/radar-scan-test'
import LineDance from '@/pages/test/line-dance-test'
import Bar3d from '@/pages/test/bar-3d-test'
import ScaleDance from '@/pages/test/scale-dance-test'
import Rotate from '@/pages/test/rotate-test'
import Cut3d from '@/pages/test/cut-3d-test'
import Tabs from '@/pages/test/tabs-test'

import PagesIndex from "@/pages/index";
import PagesUserDevelopment from "@/pages/user_development";
import PagesRating from "@/pages/rating";
import PagesUserPortrait from "@/pages/user_portrait";
import PagesUserAnalysis from "@/pages/user_analysis";

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/page/index',
      name: 'Index',
      component: PagesIndex
    },
    {
      path: '/page/user/development',
      name: 'UserDevelopment',
      component: PagesUserDevelopment
    },
    {
      path: '/page/user/rating',
      name: 'Rating',
      component: PagesRating
    },
    {
      path: '/page/user/portrait',
      name: 'UserPortrait',
      component: PagesUserPortrait
    },
    {
      path: '/page/user/analysis',
      name: 'UserAnalysis',
      component: PagesUserAnalysis
    },






    {
      path: '/test/pie-multi',
      name: 'PieMultiTest',
      component: PieMultiTest
    },
    {
      path: '/test/pictorial-bar-test',
      name: 'PictorialBarTest',
      component: PictorialBarTest
    },
    {
      path: '/test/gauge-test',
      name: 'GaugeTest',
      component: GaugeTest
    },
    {
      path: '/test/number-flip-test',
      name: 'NumberFlipTest',
      component: NumberFlipTest
    },
    {
      path: '/test/line-test',
      name: 'LineTest',
      component: LineTest
    },
    {
      path: '/test/radar-scan-test',
      name: 'RadarScan',
      component: RadarScan
    },
    {
      path: '/test/line-dance-test',
      name: 'LineDance',
      component: LineDance
    },
    {
      path: '/test/bar-3d-test',
      name: 'Bar3d',
      component: Bar3d
    },
    {
      path: '/test/scale-dance-test',
      name: 'ScaleDance',
      component: ScaleDance
    },
    {
      path: '/test/rotate-test',
      name: 'Rotate',
      component: Rotate
    },
    {
      path: '/test/cut-3d-test',
      name: 'Cut-3d',
      component: Cut3d
    },
    {
      path: '/test/tabs-test',
      name: 'Tabs',
      component: Tabs
    }
  ]
})
